<?php
    session_start();
    include("includes/checklogged.php");
    check_logged();
?>

<?php include('includes/header.php'); ?>
<?php 
  if ($_SESSION["logged"] == "admin"){
    include('includes/nav.php'); 
  }
  else{ 
	include('includes/nav2.php');
}?> 

<div id="content">

	</br></br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
	WELCOME 
	<font color="red" ><b><?php
	 	if (isset ($_SESSION["logged"])){
			if (strlen($_SESSION["logged"])){
			$xxx= ucfirst($_SESSION["logged"]);
			print ''.$xxx;
			}
		}
	 ?></font></b>! You are now logged into <u><b>CSM Time Entry System.</u></b></br></br>
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <img src="images/login.jpg" align="center"></br>
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<img src="images/index2.jpg" align="center"> </>
</div> <!-- end #content -->

<?php 
  if ($_SESSION["logged"] == "admin"){
    include('includes/sidebar.php'); 
  }
  else{ 
	include('includes/sidebar3.php');
  }?> 
<?php include('includes/footer.php'); ?>


